﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Roteirizacao.Master" CodeBehind="Empresas.aspx.cs" Inherits="Roteirização.Empresas" %>

<%--<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>

<head>
  <title>:::::: Miranda Transportes :::::</title>
  <meta name="description" content="website description" />
  <meta name="keywords" content="website keywords, website keywords" />
  <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
  <link rel="stylesheet" type="text/css" href="css/style.css" />
  <!-- modernizr enables HTML5 elements and feature detects -->
  <script type="text/javascript" src="js/modernizr-1.5.min.js"></script>
</head>

<body>
  <div id="main">
    <header>
      <div id="logo">
        <div id="logo_text">
          <!-- class="logo_colour", allows you to change the colour of the text -->
          <h1><a href="index.aspx"><span class="logo_colour">Miranda</span>Transporte</a></h1>
          <h2>Sistema de Roteirização.</h2>
        </div>
      </div>
      <nav>
        <div id="menu_container">
          <ul class="sf-menu" id="nav">
            <li><a href="index.aspx">Home</a></li>
            <li><a href="#">Cadastros</a>
               <ul>
                <li><a href="Motoristas.aspx">Motoristas</a></li>
                <li><a href="Veiculos.aspx">Veiculos</a></li>
                <li><a href="Empresas.aspx">Clientes</a></li>
                <li><a href="Entregas.aspx">Entregas</a></li>
              </ul>
            </li>      
            
            <li><a href="#">Processa</a></li>
            <li><a href="#">Roteiros</a></li>

          </ul>
        </div>
      </nav>
    </header>
    <div id="site_content">
      <div class="content">
        <h2>Cadastro Clientes</h2>
        <form action="#" method="post" runat="server">
          <div class="form_settings">
            <p><span>Razão Social:</span><input type="text" id="txtRazSoc" name="txtNome" value="" runat="server" /></p>
            <p><span>Apelido:</span><input id="txtApelido" type="text" name="txtNome" value="" runat="server" /></p>
            <p><span>CNPJ:</span><input id="txtCNPJ" type="text" name="txtNome" value="" runat="server" /></p>
            <p><span>Rua:</span><input id="txtRua" type="text" name="txtNome" value="" runat="server" /></p>
            <p><span>Nº:</span><input id="txtNum" type="text" name="txtNome" value="" runat="server" /></p>
            <p><span>Complemento:</span><input id="txtComp" type="text" name="txtNome" value="" runat="server" /></p>
            <p><span>Bairro:</span><input id="txtBairro" type="text" name="txtNome" value="" runat="server" /></p>
            <p><span>Cidade:</span><input id="txtCidade" type="text" name="txtNome" value="" runat="server" /></p>
            <p><span>Estado:</span><input id="txtEstado" type="text" name="txtNome" value="" runat="server" /></p>
            <p><span>País:</span><input id="txtPais" type="text" name="txtNome" value="" runat="server" /></p>
            <p><span>CEP:</span><input id="txtCEP" type="text" name="txtNome" value="" runat="server" /></p>
            <p style="padding-top: 15px"><span>&nbsp;</span><asp:Button CssClass="submit" ID="btnSalvarE" Text="Salvar" runat="server" onclick="btnSalvarE_Click"/></p>
          </div>
          <div>
            <center>
            <br />
                <asp:GridView ID="Gridv" runat="server" ShowHeaderWhenEmpty="True" runat="server">
                </asp:GridView>
            <br />
            </center>
        </div>
        </form>
        
      </div>
    </div>
    <footer>
      <p>Copyright &copy; InfoWell | <a href="http://www.css3templates.co.uk" target="_blank">design from css3templates.co.uk</a></p>
    </footer>
  </div>
  <p>&nbsp;</p>
  <!-- javascript at the bottom for fast page loading -->
  <script type="text/javascript" src="js/jquery.js"></script>
  <script type="text/javascript" src="js/jquery.easing-sooper.js"></script>
  <script type="text/javascript" src="js/jquery.sooperfish.js"></script>
  <script type="text/javascript">
      $(document).ready(function () {
          $('ul.sf-menu').sooperfish();
      });
  </script>
</body>
</html>--%>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript">
        jQuery(function ($) {
            $("#ContentRoteirizacao_txtCEP").mask("99999-999");
            $("#ContentRoteirizacao_txtNum").mask("999999999");
            $("#ContentRoteirizacao_txtCNPJ").mask("99.999.999/9999-99");
        });
</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentRoteirizacao" runat="server">

    <div id="site_content">
      <div class="content">
        <h2>Cadastro Clientes</h2>
        <form id="Form1" action="#" method="post" runat="server">
        <asp:UpdatePanel ID="UpdPanel" runat="server">
        <ContentTemplate>
            <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" EnableScriptGlobalization="true" EnableScriptLocalization="true">
            </asp:ToolkitScriptManager>  
          <div class="form_settings">
            <p><span>Razão Social:</span><input type="text" id="txtRazSoc" name="txtNome" value="" runat="server" /></p>
            <p><span>Apelido:</span><input id="txtApelido" type="text" name="txtNome" value="" runat="server" /></p>
            <p><span>CNPJ:</span><input id="txtCNPJ" type="text" name="txtNome" value="" runat="server" /></p>
            <p><span>CEP:</span><asp:TextBox id="txtCEP" runat="server" ontextchanged="txtCEP_TextChanged" AutoPostBack="true"/></p>
            
            <p><span>Rua:</span><input id="txtRua" type="text" name="txtNome" value="" runat="server" disabled /></p>
            <p><span>Nº:</span><input id="txtNum" type="text" name="txtNome" value="" runat="server" /></p>
            <p><span>Complemento:</span><input id="txtComp" type="text" name="txtNome" value="" runat="server" /></p>
            <p><span>Bairro:</span><input id="txtBairro" type="text" name="txtNome" value="" runat="server" disabled/></p>
            <p><span>Cidade:</span><input id="txtCidade" type="text" name="txtNome" value="" runat="server" disabled/></p>
            <p><span>Estado:</span><input id="txtEstado" type="text" name="txtNome" value="" runat="server" disabled/></p>
            <p><span>País:</span><input id="txtPais" type="text" name="txtNome" value="" runat="server" disabled/></p>
            <p style="padding-top: 15px"><span>&nbsp;</span><asp:Button CssClass="submit" ID="btnSalvarE" Text="Salvar" runat="server" onclick="btnSalvarE_Click"/></p>
          </div>
          <div>
            <center>
            <br />
                <asp:GridView ID="Gridv" runat="server" ShowHeaderWhenEmpty="True" runat="server">
                </asp:GridView>
            <br />
            </center>
        </div>
                    </ContentTemplate>
    </asp:UpdatePanel>  
        </form>
        
      </div>
    </div>

</asp:Content>
